package flst.ipiweb.struts.action.codePromo;

import java.util.Date;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;

import flst.ipiweb.common.Article;
import flst.ipiweb.common.SpecialOfferEnum;

public class CodePromoForm extends ActionForm {

	/**
         * 
         */
	private static final long serialVersionUID = 1L;

	private int idCode;
	private int idStore;
	private String code;
	private int beginday;
	private int beginmonth;
	private int beginyears;
	private int endday;
	private int endmonth;
	private int endyears;
	private int idTypeCode;
	private float percentage;
	private int idArticle;
	private String reference;

	private List<Article> listArticles;
	private Article article;
	private SpecialOfferEnum kindOfOffer;
	private float amount;
	private Date beginDate;
	private Date endDate;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public SpecialOfferEnum getKindOfOffer() {
		return kindOfOffer;
	}

	public void setKindOfOffer(SpecialOfferEnum kindOfOffer) {
		this.kindOfOffer = kindOfOffer;
	}

	public float getPercentage() {
		return percentage;
	}

	public void setPercentage(float percentage) {
		this.percentage = percentage;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public float getAmount() {
		return amount;
	}

	public void setAmount(float amount) {
		this.amount = amount;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public List<Article> getListArticles() {
		return listArticles;
	}

	public void setListArticles(List<Article> listArticles) {
		this.listArticles = listArticles;
	}

	public Article getArticle() {
		return article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	public int getBeginday() {
		return beginday;
	}

	public void setBeginday(int beginday) {
		this.beginday = beginday;
	}

	public int getBeginmonth() {
		return beginmonth;
	}

	public void setBeginmonth(int beginmonth) {
		this.beginmonth = beginmonth;
	}

	public int getBeginyears() {
		return beginyears;
	}

	public void setBeginyears(int beginyears) {
		this.beginyears = beginyears;
	}

	public int getEndday() {
		return endday;
	}

	public void setEndday(int endday) {
		this.endday = endday;
	}

	public int getEndmonth() {
		return endmonth;
	}

	public void setEndmonth(int endmonth) {
		this.endmonth = endmonth;
	}

	public int getEndyears() {
		return endyears;
	}

	public void setEndyears(int endyears) {
		this.endyears = endyears;
	}

	public int getIdStore() {
		return idStore;
	}

	public void setIdStore(int idStore) {
		this.idStore = idStore;
	}

	public int getIdTypeCode() {
		return idTypeCode;
	}

	public void setIdTypeCode(int idTypeCode) {
		this.idTypeCode = idTypeCode;
	}

	public int getIdCode() {
		return idCode;
	}

	public void setIdCode(int idCode) {
		this.idCode = idCode;
	}

	public int getIdArticle() {
		return idArticle;
	}

	public void setIdArticle(int idArticle) {
		this.idArticle = idArticle;
	}

	public String getReference() {
		return reference;
	}

	public void setReference(String reference) {
		this.reference = reference;
	}

}